package com.tomato.drugstore.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DrugCategory {
    @TableId(type = IdType.AUTO)
    private Integer categoryId;
    private String categoryName;
    private String categoryType;
    private String categoryParentType;
    private Date createTime;
    private Date updateTime;

    public DrugCategory() {
    }

    public DrugCategory(String categoryName, String categoryType, String categoryParentType) {
        this.categoryName = categoryName;
        this.categoryType = categoryType;
        this.categoryParentType = categoryParentType;
    }
}
